package utils

import (
	"time"
	"math/rand"
)

func init() {
	rand.Seed(time.Now().UnixNano())
}
//ProduceRandomInt produce a series random integers
func ProduceRandomInt(ln int) []int {
	nums := []int{}
	for i := 0; i < ln; i++ {
		n := rand.Int31n(10000)
		nums = append(nums, int(n))
	}
	return nums
}